package com.krtech.wecard.module.ramble.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
    * 排行榜 
    */
@ApiModel(value="com-krtech-wecard-module-ramble-entity-RambleLeaderboard")
@Data
@TableName(value = "xiaoran_ramble_leaderboard")
public class RambleLeaderboard implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="id")
    private Integer id;

    /**
     * 创建人
     */
    @TableField(value = "CREATED_BY")
    @ApiModelProperty(value="创建人")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "CREATED_TIME")
    @ApiModelProperty(value="创建时间")
    private Date createdTime;

    /**
     * 更新人
     */
    @TableField(value = "UPDATED_BY")
    @ApiModelProperty(value="更新人")
    private String updatedBy;

    /**
     * 更新时间
     */
    @TableField(value = "UPDATED_TIME")
    @ApiModelProperty(value="更新时间")
    private Date updatedTime;

    /**
     * 昵称
     */
    @TableField(value = "nick_name")
    @ApiModelProperty(value="昵称")
    private String nickName;

    /**
     * 电话
     */
    @TableField(value = "phone")
    @ApiModelProperty(value="电话")
    private String phone;

    /**
     * openId
     */
    @TableField(value = "open_id")
    @ApiModelProperty(value="openId")
    private String openId;

    /**
     * 昨日步数
     */
    @TableField(value = "yesterday_step")
    @ApiModelProperty(value="昨日步数")
    private Integer yesterdayStep;

    /**
     * 累计步数
     */
    @TableField(value = "total_step")
    @ApiModelProperty(value="累计步数")
    private Integer totalStep;

    /**
     * 抽奖次数
     */
    @TableField(value = "draw_chance")
    @ApiModelProperty(value="抽奖次数")
    private Integer drawChance;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_CREATED_BY = "CREATED_BY";

    public static final String COL_CREATED_TIME = "CREATED_TIME";

    public static final String COL_UPDATED_BY = "UPDATED_BY";

    public static final String COL_UPDATED_TIME = "UPDATED_TIME";

    public static final String COL_NICK_NAME = "nick_name";

    public static final String COL_PHONE = "phone";

    public static final String COL_OPEN_ID = "open_id";

    public static final String COL_YESTERDAY_STEP = "yesterday_step";

    public static final String COL_TOTAL_STEP = "total_step";

    public static final String COL_DRAW_CHANCE = "draw_chance";
}